package rad.framework.mda.generator.template.test.resources;

public class Deployment
{
  protected static String nl;
  public static synchronized Deployment create(String lineSeparator)
  {
    nl = lineSeparator;
    Deployment result = new Deployment();
    nl = null;
    return result;
  }

  public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
  protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "" + NL + "<deployment xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"" + NL + "            xsi:schemaLocation=\"urn:jboss:bean-deployer bean-deployer_1_0.xsd\"" + NL + "            xmlns=\"urn:jboss:bean-deployer\">" + NL + "" + NL + "   <bean name=\"EJBDeployment\" class=\"org.jboss.ejb3.embedded.EJB3StandaloneDeployer\">" + NL + "      <property name=\"jndiProperties\"><inject bean=\"InitialContextProperties\"/></property>" + NL + "      <property name=\"kernel\"><inject bean=\"jboss.kernel:service=Kernel\"/></property>" + NL + "   </bean>" + NL + "   " + NL + "   <bean class=\"org.jboss.ejb.txtimer.EJBTimerServiceImpl\"" + NL + "          name=\"jboss.ejb:service=EJBTimerService\"/>" + NL + "\t" + NL + "</deployment>";
  protected final String TEXT_2 = NL;

  public String generate(Object argument)
  {
    final StringBuffer stringBuffer = new StringBuffer();
    

    stringBuffer.append(TEXT_1);
    stringBuffer.append(TEXT_2);
    return stringBuffer.toString();
  }
}
